package com.wzy.oa_sys.service.file;

import com.aliyun.oss.model.OSSObject;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.wzy.oa_sys.model.pojo.file.OaFile;
import com.wzy.oa_sys.model.response.file.FileResp;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface FileService {
    OaFile uploadFile(MultipartFile file, OaFile oaFile);
    List<FileResp> fileList();
    OaFile getFileById(Long fileId);
    OSSObject getOssFile(String filePath);
    void deleteFile(Long fileId) throws Exception;

    List<FileResp> getThreeFiles();
}
